#导包
from rest_framework import serializers

from myapp.models import Course,Flow

class FlowSer(serializers.ModelSerializer):

    class Meta:
        model=Flow
        fields='__all__'
        depth=2

class CourseSer(serializers.ModelSerializer):

    class Meta:
        model=Course
        fields='__all__'


